/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * AboutFrame.java
 *
 * Created on 2-gen-2009, 12.02.29
 */

package lpr.minikazaa.GUI;

import javax.swing.ImageIcon;

/**
 *
 * @author giovine
 */
public class AboutFrameIta extends javax.swing.JFrame {

    /** Creates new form AboutFrame */
    public AboutFrameIta() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        header = new javax.swing.JLabel();
        project_target = new javax.swing.JLabel();
        credits = new javax.swing.JLabel();
        close_bt = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Mini-KaZaA About");
        setIconImage(new ImageIcon(getClass().getResource("/lpr/minikazaa/icons/italian_about_icon.png")).getImage());
        setResizable(false);

        header.setFont(new java.awt.Font("DejaVu Sans", 0, 48));
        header.setForeground(new java.awt.Color(27, 22, 101));
        header.setText("Mini KaZaA");

        project_target.setText("<html>\n<b>Obiettivo del progetto:</b> Questo progetto mira a costruire un potente programma per la condivisione di file in rete. Abbiamo preferito nascondere all'utente la fase di costruzione dell'overlay network per concentrarsi maggiormente sugli aspetti di condivisione. Speriamo troviate ciò che cercate.\n</html>");
        project_target.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.SystemColor.activeCaptionBorder));

        credits.setText("<html>\n<p>\n<b>Versione del prodotto:</b> Mini-KaZaA version 1.0\n</p>\n<p>\n<b>Autori:</b> Andrea Di Grazia e Massimiliano Giovine\n</p>\n<p>\n<b>Data di rilascio:</b> To be written.\n</p>\n<html>");
        credits.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.SystemColor.activeCaptionBorder));

        close_bt.setText("Chiudi");
        close_bt.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                close_btActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(74, 74, 74)
                        .addComponent(header))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(182, 182, 182)
                        .addComponent(close_bt))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(24, 24, 24)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(credits, javax.swing.GroupLayout.DEFAULT_SIZE, 363, Short.MAX_VALUE)
                            .addComponent(project_target, javax.swing.GroupLayout.DEFAULT_SIZE, 363, Short.MAX_VALUE))))
                .addGap(29, 29, 29))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(43, 43, 43)
                .addComponent(header)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(project_target, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(28, 28, 28)
                .addComponent(credits, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(close_bt)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void close_btActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_close_btActionPerformed
        this.dispose();
    }//GEN-LAST:event_close_btActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton close_bt;
    private javax.swing.JLabel credits;
    private javax.swing.JLabel header;
    private javax.swing.JLabel project_target;
    // End of variables declaration//GEN-END:variables

}
